home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util4
/
0utils.lha
/
0Utils
/
WriteLn.doc
< prev
next >
Wrap
Text File
|
1995-09-05
|
1KB
|
71 lines
NAME
WriteLn
SYNOPSIS
WriteLn - Write a line of text to a specified _Filehandle_ - Requires v37
INPUTS
"FILEHANDLE/N/A,NOLINE/S,TEXT/F"
DESCRIPTION
WriteLn is a bit superfluous, since all U can
do with it can easily - and perhaps better -
be achieved with the use of echo and output
redirection ('>>') (expect for the case, we
try to redirect to things like CON:...).
WriteLn just copies a string to a filehandle that
was previousy opened with 'Open'; it is part of
the archive just for completeness: if we have a
open/close/read, everyone can also expect a 'write'.
ReadLn does no checks on the given filehandle, so
it should be used carefully.
RESULT
-/-
NOTES
* CLI - only
* should compile with SAS-C
WriteLn is highly dangerous! Do not Use it,
if U do not exactly know what U are doing!
BUGS
EXAMPLES
> set fh `Open T:writetest WRITE`
> WriteLn $fh This is a test
> Close $fh
> Unset fh
> cat T:writetest
This is a test
HISTORY
21-02-95 b_noll created
21-02-95 b_noll added version/format-prefix/offset
20-03-95 b_noll added args diagnostics
20-03-95 b_noll fixed an error - writeln in fact never worked
19-08-95 b_noll created .data file
AUTHOR
Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
noll@student.uni-kl.de